Issues in Generating Data Bindings for an XML Schema - Based Language
نویسنده
چکیده
XML's metalanguage aspect and extensive tool support make it an attractive way to build modularly extensible modeling languages. XML's original metalanguage , the document type definition (DTD), is being replaced by the more expressive XML schema. Developing programmatic tools to manipulate models specified in XML schemas is made easier though the use of data bindings. Data-bindings model elements and attributes in XML schemas as objects in an object-oriented programming language. We have developed an XML-schema aware generator for Java data bindings called 'api-gen.' While developing apigen, we encountered and worked through several issues, both essential and accidental, related to generating XML schema data bindings. These issues, and the solutions we developed, are described in this paper.
منابع مشابه
Generate Xml Instance From Schema Tool
The CAM toolkit also automates the tasks of generating supporting artifacts such as XML Schema, JAXB data bindings and test XML instances generation. With the desired XML document opened in the active editor tab, choose Tools / XML Actions / Generate XSD Schema from XML File on the main menu. During the Build and Validate Phase, the XML schema documents that will define the exchange XML instanc...
متن کاملAn Approach for Generating an XML Data Warehouse Schema using Model Transformation Language
Traditionally, the multidimensional schema of the data warehouse is derived from data sources that are mainly the company’s internal data, well-known and structured, by identifying facts, dimensions and numeric measurements through a manual analysis of the operational schemas. With the proliferation of new platforms of communication in today’s information societies, there has been growing numbe...
متن کاملA Generic Load/Extract Utility for Data Transfer between XML Documents and Relational Databases
XML is rapidly gaining momentum in e-commerce and Internet-based information exchange, where its simplicity and custom-defined tags make it usable as a semanticspreserving data exchange format. However, to realize this potential, it is necessary to be able to extract structured data from XML documents and store it in a database, as well as to generate XML documents from data extracted from a da...
متن کاملTest::XML::Generator Generating XML for Unit Testing
To define a DTD or a Schema is not a trivial task. It can be compared to the task of preparing a data structure or, in some cases, to program that data structure adding some semantic. This makes this task error prone. It is common that a final Schema/DTD supports some special XML structures that should not be considered correct, or that, although these special structures are correct, they are n...
متن کاملReasoning About Data in XML Data Integration
In this paper, we propose solutions to some problems arising while data from different sources is to be integrated under a given target schema. We address the following problems: inferring missing data based on constraints imposed by the target schema, generating mappings from a source schema to a target schema based on key constraints and value dependencies, and merging data based on subsumpti...
متن کامل